#include <stdio.h>
#include <string.h>

char digitToHex(int digit) {
	return "0123456789ABCDE"[digit];
}

int strLength(char str[]) {
	const char* p = str;
	while (*p)
	{
		p++;
	}
	return p - str;

}

int main013() {
	/*char a = digitToHex(99);
	printf(" a==%X\n", a);*/

	/*char str1[] = "Hello word";
	char* str2 = "Hello word";
	puts(str1);
	printf("    str length = %d\n", strlen(str1));
	printf("    str length = %d\n", strLength(str1));*/

	/*printf("strlen(\"ABC\")=%d\n", strlen("ABC"));
	printf("strlen(\"\")=%d\n", strlen(""));*/

	char * p1 = "123456";
	char* p2 = "";
	

	while (*p1++ = *p2++);
	printf("s1==%s", *p2);
	return 0;
}